<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('order/express')}">
        <div class="form-group">
            <label for="" class="col-md-2 control-label">订单号</label>
            <div class="col-md-6">
                <input type="text" class="form-control" value="{$data.obtain_order_no}" disabled>
            </div>
        </div>

        <div class="form-group">
            <label for="input-thumb" class="col-sm-2 control-label">收货人</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="name" value="{$data['name']}">
            </div>
        </div>

        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label">收货人电话</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="tel" value="{$data['tel']}">
            </div>
        </div>

        <div class="form-group">
            <label for="" class="col-md-2 control-label">地址</label>
            <div class="col-md-6">
                <textarea name="area_info" class="form-control" cols="30" rows="3">{$data.area_info}</textarea>
            </div>
        </div>

        <div class="form-group">
            <label for="" class="col-md-2 control-label">快递公司</label>
            <div class="col-md-6">
                <select name="delivery" class="col-md-6 form-control">
                    <volist name="express" id="vo">
                        <option value="{$vo.code}-{$vo.company}">{$vo.company}</option>
                    </volist>
                </select>
            </div>
        </div>

        <div class="form-group">
            <label for="" class="col-md-2 control-label">快递单号</label>
            <div class="col-md-6">
                <input type="text" class="form-control" name="delivery_no" value="">
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="hidden" name="id" value="{$data.id}">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('确认')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>

    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>